package com.chen.dto;

import com.chen.annotation.ExcelHead;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 导入题目相关数据
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SubjectImportDTO {

    /**
     * 试题名
     */
    @ExcelHead(read = "题目", writer = "题目")
    private String name;

    /**
     * 答案A
     */
    @ExcelHead(read = "答案A", writer = "答案A")
    private String optionA;

    /**
     * 答案B
     */
    @ExcelHead(read = "答案B", writer = "答案B")
    private String optionB;

    /**
     * 答案C
     */
    @ExcelHead(read = "答案C", writer = "答案C")
    private String optionC;

    /**
     * 答案D
     */
    @ExcelHead(read = "答案D", writer = "答案D")
    private String optionD;

    /**
     * 正确答案
     */
    @ExcelHead(read = "正确答案", writer = "正确答案")
    private String rightResult;

    /**
     * 分值
     */
    @ExcelHead(read = "分值", writer = "分值")
    private Integer score;

    /**
     * 试题类型
     */
    @ExcelHead(read = "试题类型", writer = "试题类型")
    private String type;

    /**
     * 难易程度
     */
    @ExcelHead(read = "难易程度", writer = "难易程度")
    private String easy;


}
